package com.dkm.ec.relation.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:t_relation_group Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-07-21 16:58:21
 */
 @ITable(name="relationGroup",code="t_relation_group")
public class RelationGroupTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*主键*/
	@IField(name="name",column="name_")
	protected String  name; 		/*分组名*/
	@IField(name="partyId",column="party_id_")
	protected String  partyId; 		/*会员*/
	@IField(name="isDefault",column="is_default_")
	protected String  isDefault; 		/*是否默认。N：否，Y：是*/
	@IField(name="type",column="type_")
	protected String  type; 		/*类型。类型。好友=friend，关注=attention，粉丝=follower，关系=relation，群聊=group_chat，群发=group_send*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 主键
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	/**
	 * 返回 分组名
	 * @return
	 */
	public String getName() 
	{
		return this.name;
	}
	public void setPartyId(String partyId) 
	{
		this.partyId = partyId;
	}
	/**
	 * 返回 会员
	 * @return
	 */
	public String getPartyId() 
	{
		return this.partyId;
	}
	public void setIsDefault(String isDefault) 
	{
		this.isDefault = isDefault;
	}
	/**
	 * 返回 是否默认。N：否，Y：是
	 * @return
	 */
	public String getIsDefault() 
	{
		return this.isDefault;
	}
	public void setType(String type) 
	{
		this.type = type;
	}
	/**
	 * 返回 类型。类型。好友=friend，关注=attention，粉丝=follower，关系=relation，群聊=group_chat，群发=group_send
	 * @return
	 */
	public String getType() 
	{
		return this.type;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("name", this.name) 
		.append("partyId", this.partyId) 
		.append("isDefault", this.isDefault) 
		.append("type", this.type) 
		.append("createTime", this.createTime) 
		.toString();
	}
}